Conference Proceedings

9.6 Million Links in Source Code Comments: Purpose, Evolution, and Decay

H Hata, C Treude, RG Kula, T Ishio

Proceedings International Conference on Software Engineering | Published : 2019

Abstract

Links are an essential feature of the World Wide Web, and source code repositories are no exception. However, despite their many undisputed benefits, links can suffer from decay, insufficient versioning, and lack of bidirectional traceability. In this paper, we investigate the role of links contained in source code comments from these perspectives. We conducted a large-scale study of around 9.6 million links to establish their prevalence, and we used a mixed-methods approach to identify the links' targets, purposes, decay, and evolutionary aspects. We found that links are prevalent in source code repositories, that licenses, software homepages, and specifications are common types of link tar..

View full abstract

University of Melbourne Researchers

Grants

Awarded by Australian Research Council


Funding Acknowledgements

We thank the respondents to our pull requests for their availability and Sebastian Baltes for his support in querying the SOTorrent dataset. This work has been supported by JSPS KAKENHI Grant Numbers JP16H05857, JP17H00731, and JP18KT0013 as well as the Australian Research Council's Discovery Early Career Researcher Award (DECRA) funding scheme (DE180100153).